package com.btb.adapter.constant;

public class Constants {
	// 链上支付事件监听
	public static final String BUY_SUCCESS = "BuySuccess";
	// 支付确认推送
	public static final String CONFIRM_PAY = "ConfirmPay";

	// 英雄上链事件监听
	public static final String UP_CHAIN_HERO_EVENT = "UpChainHeroEvent";
	// 英雄上链远程事件通知
	public static final String UP_CHAIN_HERO_CALL_BACK = "UpChainHeroCallBack";

	// 鱼上链事件监听
	public static final String UP_CHAIN_FISH_EVENT = "UpChainFishEvent";
	// 鱼上链远程 确认通知
	public static final String UP_CHAIN_FISH_CALL_BACK = "UpChainFishCallBack";

	// 下链事件处理
	public static final String OFF_CHAIN_EVENT = "offChainEvent";
	// 下链远程确认通知
	public static final String OFF_CHAIN_CALL_BACK = "offChainCallBack";


	public static final int PAGE_SIZE = 20;
	public static final String UPCHAINHERO_STATUS = "0";
	public static final String OFFCHAIN_STATUS = "0";
	//
	public static final int OFFCHAIN_BATCH_SIZE = 10;
	// 支付确认推送的结果
	public static final String SUCCESS = "success";
	public static final String FAIL = "fail";
	// 确认推送每次处理的数据量
	public static final Integer CONFIRM_PAGE_SIZE = 20;
	// 上链每次查询的数据记录数
	public static final Integer UP_CHAIN_PAGE_SIZE = 10;
	// 下链每次查询的数据记录数
	public static final Integer OFF_CHAIN_PAGE_SIZE = 10;
	// 上链的状态 0未上链1上链中2中链待确认3上链成功4上链失败
	public static final String UP_CHAIN_STATU_ZERO = "0";
	public static final String UP_CHAIN_STATUS_ONE = "1";
	public static final String UP_CHAIN_STATUS_TWO = "2";
	public static final String UP_CHAIN_STATUS_THREE = "3";
	public static final String UP_CHAIN_STATUS_FOUE = "4";

	// 下链的状态 0未下链1下链中2下链待确认3下链成功4下链失败
	public static final String OFF_CHAIN_STATU_ZERO = "0";
	public static final String OFF_CHAIN_STATUS_ONE = "1";
	public static final String OFF_CHAIN_STATUS_TWO = "2";
	public static final String OFF_CHAIN_STATUS_THREE = "3";
	public static final String OFF_CHAIN_STATUS_FOUE = "4";
}
